#ifndef CONE_H
#define CONE_H
#include "shape.h"
#include <cmath>

class Cone : public Shape3D
{
private:
    double r, sh, h;
public:
    Cone(double r, double h) 
        : r(r), h(h) {}
    Cone(const Cone& c);
    double volume() const override;
    double area() const override;
};

#endif